//////////////////////////////////////////////////////////////////////////
// q3dSegment - segment in Quebra3D
// By Antonio Miranda - June 2014
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////

#ifndef _Q3D_SEGMENT_H
#define _Q3D_SEGMENT_H

#include <vector>
#include "geom/curves/curve.h"
#include "geom/point3d.h"

using namespace std;

class q3dVertex;
class q3dSurface;

// class q3dSegment
//////////////////////////////////////////////////////////////////////////
class q3dSegment
{
public:
  q3dSegment( );
  ~q3dSegment (void);

  // create curve from points in mesh structure
  void createCurve (vector <Point3D> &pts);

  // easy accesses
  //////////////////////////////////////////////////////////////////////////

  // geometry
  Curve *m_curve;

  // adjacent Vertex
  q3dVertex *m_adjVextex[2];

  // adjacent surfaces
  q3dSurface *m_adjSurf[2];

private:
 
    

};

#endif
